.task-detail {
  min-height: 100%;
  position: relative;
  padding-bottom: 68rpx;
  box-sizing: border-box;
  > .bg-box {
    width: 100%;
    height: 100%;
    background: #F7F7F7;
    background-size: 100% 100%;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;

    > .img-bg {
      width: 100%;
      background-size: 100% 100%;
    }
  }

  .van-action-sheet__gap {
    display: none!important;
  }
}

.task-detail-content{
  padding: 32rpx 32rpx 24rpx;
  z-index: 10;
}

.task-date{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32rpx;
  >.task-status{
    font-size: 36rpx;
    color: #FFFFFF;
    line-height: 50rpx;
  }
  >.task-status-time{
    font-size: 24rpx;
    color: #FFFFFF;
    line-height: 50rpx;
    display: flex;
    align-items: center;
    >image{
      width: 28rpx;
      height: 28rpx;
      margin-right: 16rpx;
    }
  }
}

.detail-top{
  padding: 24rpx;
  background: #FFFFFF;
  margin-bottom: 24rpx;
  border-radius: 8rpx;
  >.title{
    font-size: 32rpx;
    color: #262626;
    line-height: 44rpx;
    font-weight: 600;
  }
  >.detail-tag{
    min-height: 80rpx;
    display: flex;
    >view{
      margin-top: 16rpx;
      height: 32rpx;
      padding: 0 8rpx;
      background: #F5F5F5;
      border-radius: 4rpx;
      font-size: 24rpx;
      color: #8C8C8C;
      line-height: 32rpx;
      text-align: center;
    }
    >.tag{
      background: linear-gradient(90deg, #EAAB32 0%, #F7CA72 100%);
      color: #FFFFFF;
    }
    >view:not(:last-child){
      margin-right: 16rpx;
    }
  }
  >.task-press{
    display: flex;
    margin-bottom: 32rpx;
    align-items: flex-end;
    >view{
      display: flex;
      align-items: center;
      font-size: 24rpx;
      font-weight: 400;
      color: #8C8C8C;
      line-height: 32rpx;
      >view{
        font-size: 32rpx;
        font-weight: 600;
        color: #FF9934;
        line-height: 44rpx;
      }
    }
    >view:first-child{
      >view{
        width: 256rpx;
      }
    }
  }
  >.task-icon-text{
    >view{
      display: flex;
      font-size: 24rpx;
      font-weight: 400;
      color: #8C8C8C;
      line-height: 32rpx;
      margin-bottom: 32rpx;
      >image{
        width: 32rpx;
        height: 32rpx;
        margin-right: 16rpx;
      }
    }
  }
  >.company-info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16rpx 24rpx;
    background: #F5F6FA;
    >view:first-child{
      display: flex;
      >image{
        display: block;
        width: 80rpx;
        height: 80rpx;
        border-radius: 50%;
        margin-right: 16rpx;
      }
      >view{
        font-size: 24rpx;
        line-height: 34rpx;
        padding-top: 2rpx;
        color: #8C8C8C;
        >view:first-child{
          color: #595959;
          margin-bottom: 8rpx;
        }
      }
    }
    >.no-focused{
      box-sizing: border-box;
      padding: 0 24rpx;
      height: 32rpx;
      background: #FF9934;
      border-radius: 4rpx;
      font-size: 24rpx;
      color: #FFFFFF;
      line-height: 32rpx;
    }
    >.focused{
      padding: 0 24rpx;
      height: 32rpx;
      border-radius: 4rpx;
      border: 2rpx solid #D9D9D9;
      font-size: 24rpx;
      color: #595959;
      line-height: 28rpx;
    }

  }
}


.detailList{
  padding: 0 32rpx;
}

.reward-box{
  width: 100%;
  border-radius: 8rpx;
  background: #FFFFFF;
  padding: 20rpx 24rpx 0;

  .detail-btn{
    padding: 0 16rpx;
    border-radius: 32rpx;
    height: 48rpx;
    background: #2F549F;
    font-size: 24rpx;
    font-weight: 400;
    color: #FFFFFF;
    line-height: 48rpx;
  }
  .normal-btn{
    height: 48rpx;
    padding: 0 16rpx;
    border-radius: 32rpx;
    border: 2rpx solid #D9D9D9;
    font-size: 24rpx;
    font-weight: 400;
    color: #595959;
    line-height: 44rpx;
  }
  >.title{
    height: 44rpx;
    font-size: 32rpx;
    font-weight: 600;
    color: #262626;
    line-height: 44rpx;
    margin-bottom: 40rpx;
    display: flex;
    >.comment{
      padding-left: 34rpx;
      position: relative;
      &::after{
        content: '';
        position: absolute;
        width: 2rpx;
        height: 24rpx;
        background: #F0F0F0;
        top: 12rpx;
        left: 16rpx;
      }
    }
    >view.active{
      color: #2F549F;
    }
  }
}

%user{
  display: flex;
  >image{
    width: 80rpx;
    height: 80rpx;
    border-radius: 50%;
    margin-right: 24rpx;
  }
  >.box-right{
    >view:first-child{
      font-size: 28rpx;
      font-weight: 600;
      color: #262626;
      line-height: 40rpx;
      margin-bottom: 8rpx;
    }
    >view:last-child{
      font-size: 24rpx;
      font-weight: 400;
      color: #8C8C8C;
      line-height: 32rpx;
    }
  }
}

%bottom-border{
  &::after{
    position: absolute;
    content: '';
    left: 0;
    bottom: 40rpx;
    width: 100%;
    height: 2rpx;
    background-color: #F0F0F0;
  }
}

.reward-card{
  padding-bottom: 66rpx;
  position: relative;
  @extend %bottom-border;
  >.userInfo{
    display: flex;
    justify-content: space-between;
    align-items: center;
    >.info-box{
      @extend %user
    }
    >.reward-status{
      font-size: 28rpx;
      font-weight: 400;
      color: #2F549F;
      line-height: 40rpx;
    }
  }
  >.bottom-box{
    padding-left: 104rpx;
    >.detail-text{
      margin-top: 24rpx;
    }
    >.detail-prise{
      padding-top: 24rpx;
      display: flex;
      justify-content: space-between;
      margin-bottom: 24rpx;
      >view:first-child{
        display: flex;
        align-items: flex-end;
        font-size: 24rpx;
        font-weight: 400;
        color: #8C8C8C;
        line-height: 32rpx;
        >view{
          font-size: 32rpx;
          font-weight: 600;
          color: #FF9934;
          line-height: 44rpx;
        }
      }
    }
    .annex-list{
      display: flex;
      align-items: center;
      padding: 8rpx 24rpx;
      background: #F5F6FA;
      border-radius: 4rpx;
      margin-bottom: 24rpx;
      >image{
        width: 24rpx;
        height: 32rpx;
        margin-right: 24rpx;
      }
      >.maxText{
        display: flex;
        >view{
          display: inline;
        }
      }
      >view{
        font-size: 28rpx;
        color: #212121;
        line-height: 40rpx;
      }
    }
    >.btn-box{
      display: flex;
      justify-content: flex-end;
      //margin-bottom: 24rpx;
      >view:not(:first-child){
        margin-left: 16rpx;
      }
    }
  }
}

.comment-card{
  padding-bottom: 66rpx;
  position: relative;
  @extend %bottom-border;
  >.userInfo{
    @extend %user;
    margin-bottom: 24rpx;
  }
  >.bottom-box{
    padding-left: 104rpx;
    >.rate-box{
      margin: 24rpx 0;
      >view{
        display: flex;
        align-items: center;
        .title{
          font-size: 24rpx;
          font-weight: 400;
          color: #8C8C8C;
          line-height: 32rpx;
          margin-right: 26rpx;
        }
        >.rate-list{
          display: flex;
          align-items: center;
          .van-rate__icon{
            display: flex;
          }
          .van-rate__item{
            /*padding: 0!important;
            margin-left: 32rpx;*/
          }
        }
      }
      >view:nth-child(2){
        margin: 16rpx 0;
      }

    }
    >.rate-text{
      font-size: 28rpx;
      font-weight: 400;
      color: #262626;
      line-height: 40rpx;
      padding-bottom: 24rpx;
    }
  }
  .rate-img{
    position: absolute;
    right: 4rpx;
    top: 0;
    >view{
      >image{
        display: block;
        width: 48rpx;
        height: 49rpx;
        margin: 0 auto 8rpx;
      }
      >view{
        font-size: 28rpx;
        font-weight: 400;
        line-height: 40rpx;
        text-align: center;
      }
    }
  }
}

